<%--
  Created by IntelliJ IDEA.
  User: webrx
  Date: 2017/6/9
  Time: 11:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录提交</title>
    <%----%>
    <script type="text/javascript" src="../js/jquery-3.2.1.min.js"></script>
    <script>
        $(function () {
            $("#checkAgree").change(function(){
                if($("input[type='checkbox']").is(':checked')==true){
                    $("#tijiao").attr("disabled",false);
                    $("#tijiao").css("background","#c94d31");
                    $("#checkAgree").checked=false;
                }else{
                    $("#tijiao").attr("disabled",true);
                    $("#tijiao").css("background","#e5e5e5");
                    $("#checkAgree").checked=true;
                }
            });
        })

    </script>
</head>
<body>
    <form action="sell_lunboadd.jsp">
        姓名：　<input type="text" name="" ><br><br>
        密码：　<input type="text" name=""><br><br>
        验证码：<input type="text" name="" >&nbsp;<img src="../yanzheng" alt="" style="cursor: pointer" onclick="this.src='../yanzheng?'+new Date()"><br><br>
        同意：　<input type="checkbox" name="" id="checkAgree" checked>我承诺订单真实有效<br><br>
        <%--<input type="submit" value="提交" id="tijiao" style="bolder:none;">--%>
        <input class="btn-red" onclick="addOrder()" id="tijiao" value="提交" style="border: none;" type="submit" size="10">


    </form>
</body>
</html>
